package cc.messcat.service.helpunits;

import java.util.List;

import javax.servlet.http.HttpSession;

import cc.messcat.common.model.Pager;
import cc.messcat.common.service.BaseService;
import cc.messcat.entity.helpUnits.HelpUnits;
import cc.messcat.entity.system.McUser;

public interface HelpunitsService extends BaseService<HelpUnits> {

	List<HelpUnits> retrieveAllarea();

	public Pager<HelpUnits> getPage(int pageNo, int pageSize, String Affiliation, String Unit_name,
			String work_telephone);

	void modifyHelpu(HelpUnits helpUnits);

	void addHelpu(HelpUnits helpUnits);

	void removeHelpu(Long id);

	HelpUnits get(Long id);

	List retrieveAllareas(Long id);

	Pager<HelpUnits> getretrievePage(int pageNo, int pageSize, String Unit_name, String Contact_phone, String cty);

//	Pager getHelpUnitsByPager(Integer pageNo, Integer pageSize, HelpUnits helpUnits);
	Pager getHelpUnitsByPager(Integer pageNo, Integer pageSize, HelpUnits helpUnits,McUser user);

	
	void modifyHelpuNew(HelpUnits helpUnits);

	List unitsNr();


	String adduploadFile(String file, HttpSession session, McUser mcUser) throws Exception;

	void removeAddhelpoors(Long id, String sid);

	List<?> getHelpUnits(Long id);

	Pager listHelpUnit(Integer pageNo, Integer pageSize, HelpUnits helpUnits, McUser user);

}
